package com.leyou.user.service;

import com.leyou.user.entity.User;

/**
 * @author linzx
 * @date 2020/3/29
 */
public interface UserService {

    Boolean checkData(String data, Integer type);

    void sendCode(String phone);

    void register(User user, String code);

    User login(String username, String password);

}
